home *** CD-ROM | disk | FTP | other *** search
- /* $Id: letnet.h,v 1.4 1993/08/12 09:04:00 jraja Exp $
- *
- * letnet.h --- letnet structures and global variables
- *
- * Author: ppessi <Pekka.Pessi@hut.fi>
- *
- * Copyright © 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
- * Helsinki University of Technology, Finland.
- * All rights reserved.
- *
- * Created : Sun May 16 19:54:15 1993 ppessi
- * Last modified: Fri Jun 4 02:57:09 1993 ppessi
- *
- * $Log: letnet.h,v $
- * Revision 1.4 1993/08/12 09:04:00 jraja
- * Changed email address.
- *
- * Revision 1.3 1993/05/26 23:45:32 ppessi
- * Experiment with pr_ExitCode; some resource allocation bugs fixed.
- *
- * Revision 1.2 1993/05/23 17:57:57 ppessi
- * *** empty log message ***
- *
- * Revision 1.1 93/05/18 00:59:19 ppessi
- * Initial revision
- *
- */
-
- struct SocketMessage {
- struct Message sm_Msg;
- LONG sm_id;
- LONG sm_retval; /* non zero errorcode */
- };
-
- /* Send and receive buffer lenghts */
- #define RECBUFLEN 256
- #define SENDBUFLEN 256
-
- LONG do_sender(void);
-
- #if __GNUC__
- #define SAVEDS
- #define REG(X)
- #define ASM
- #elif __SASC
- #define SAVEDS __saveds
- #define REG(X) register __ ## X
- #define ASM __asm
- #else
- #define SAVEDS
- #endif
-
- SAVEDS ASM LONG exitcode(REG(d0) LONG status, REG(d1) LONG exitmessage);
-